package com.wtwd.device.model.entity;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;

/**
 * @author mjy
 * @date 2021/09/06
 * @description
 */
@ApiModel(value="BloodOxygenInfo对象", description="")
public class BloodOxygenInfo {

    /**
     * 血氧测量时间，单位秒
     */
    @ApiModelProperty(value = "血氧测量时间，单位秒",required = false)
    private int time;

    /**
     * 血氧值
     */
    @ApiModelProperty(value = "血氧值",required = false)
    private int bloodOxygen;

    public int getTime() {
        return time;
    }

    public void setTime(int time) {
        this.time = time;
    }

    public int getBloodOxygen() {
        return bloodOxygen;
    }

    public void setBloodOxygen(int bloodOxygen) {
        this.bloodOxygen = bloodOxygen;
    }

    @Override
    public String toString() {
        return "BloodOxygenInfo{" +
                "time=" + time +
                ", bloodOxygen=" + bloodOxygen +
                '}';
    }
}
